gtkprintoperation: job names must not exceed 255 chars
authorFelipe Borges <felipeborges@gnome.org>
Fri, 2 Oct 2015 15:15:26 +0000 (17:15 +0200)
committerFelipe Borges <felipeborges@gnome.org>
Fri, 9 Oct 2015 08:51:26 +0000 (10:51 +0200)
commit70f577251ff3dff5b11b2040aee5aa3efe26da9d
treefe0fa79552ef33dd4ab907240c585818c41777ec
parent5548665351c32a2fae4a1f7add079d8ce4131977
gtkprintoperation: job names must not exceed 255 chars

According to http://datatracker.ietf.org/doc/rfc2911/, The 'name'
attribute syntax is essentially the same as 'text', including the
REQUIRED support of UTF-8 except that the sequence of characters
is limited so that its encoded form MUST NOT exceed 255 (MAX) octets.

CUPS will not print jobs with names exceeding 255 characters.

https://bugzilla.gnome.org/show_bug.cgi?id=755988
gtk/gtkprintoperation.c